<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>组件通信方式-父组件给子组件传值</title>
</head>

<body>
  <div>
    <p>子组件通过props接收数据</p>
    <p>父组件中给子组件通过相应属性传值</p>
  </div>
  <script>
  </script>
</body>

</html>